package com.ccloud.common.im.enums;

/**
 * @author chentl
 * @version V1.0
 * @Project ReadEnum
 * @Title ReadEnum.java
 * @Description 阅读枚举类
 * @date 2019/12/31 14:37
 */
public enum SocketThemeEnum {
    //1 向频道中发送消息 2 来自微软的消息 3 统计当前用户未读消息 4 统计当前用户指定频道未读消息 5 其他用户推送的消息
    CLIENT_SEND_MSG_TO_CHANNEL("CLIENT_SEND_MSG_TO_CHANNEL", "向频道中发送消息"),
    OUTER_MICROSOFT_SUBSCRIBE_MSG("OUTER_MICROSOFT_SUBSCRIBE_MSG", "来自微软的消息"),
    SERVER_COUNT_UNREAD_MSG("SERVER_COUNT_UNREAD_MSG", "统计当前用户未读消息"),
    SERVER_COUNT_UNREAD_CHANNEL_MSG("SERVER_COUNT_UNREAD_CHANNEL_MSG", "统计当前用户指定频道未读消息"),
    SERVER_OTHER_USER_MSG("SERVER_OTHER_USER_MSG","其他用户推送的消息");

    SocketThemeEnum(String code, String body) {
        this.code = code;
        this.body = body;
    }

    private String code;

    private String body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
